#pragma once

#include "IWriteStrategy.hpp"
#include <iostream>

class LazyStrategy : public IWriteStrategy{
public:
    LazyStrategy() = default;
    LazyStrategy(const LazyStrategy&) = default;
    LazyStrategy& operator=(const LazyStrategy&) = default;
    LazyStrategy(const LazyStrategy&&) = delete;
    LazyStrategy& operator=(const LazyStrategy&&) = delete;
    ~LazyStrategy() = default;

    int OnWriteAt(int pos,void* data,int length) override{
        std::cout << "Lazy" << std::endl;
        return length;
    }
private:
    int test = 42;

};